package com.yincheng.oms.bussiness.util.dictionary;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yincheng.oms.bussiness.util.dictionary.entity.Dictionary;
import com.yincheng.oms.bussiness.util.dictionary.mapper.DictionaryMapper;

@Service
public class DictionaryService {

	@Autowired
	private DictionaryMapper dictionaryMapper;
	
	public List<Dictionary> getDicByModel(String model){
		List<Dictionary> list = dictionaryMapper.selectByModel(model);
		return list;
	}
}
